package com.ucode.crm.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ucode.crm.mode.FollowupRecord;

public interface FollowupRecordMapper {

    public int insert(FollowupRecord followupRecord);
    
    public int batchInsert(List<FollowupRecord> list);
    
    public int delete(Long id);
    
    public int batchDelete(List<Long> ids);
    
    public List<FollowupRecord> queryPageByCustomer(@Param("customerId")Long customerId,@Param("pageSize")int pageSize,@Param("offset")int offset);
    
    public List<FollowupRecord> queryPageByActivity(@Param("activityId")Long activityId, @Param("activityType")String activityType,@Param("pageSize")int pageSize,@Param("offset")int offset);
}
